package com.top.em;

/**
 * @Author:
 * @DateTime: 2023/12/8 22:36
 * @Description: 菜单枚举
 */
public enum MenuEnum {
    QUIT("Q","上一步","退出"),
    CATEGORY_FOOD("C","菜品分类管理","欢迎进入菜品分类列表"),
    FOOD("F","菜品管理","欢迎进入菜品列表"),
    ADD("A","新增","新增"),
    EDIT("E","修改","修改"),
    DELETE("D","删除","删除"),
    DETAIL("D","查看订单详情","查看订单详情"),
    CONTINUE("C","继续点餐","继续点餐"),
    SELECT("S","点餐","点餐"),
    SUBMIT("B","提交订单","提交订单"),
    LIST_FOOD("L","菜品列表", "欢迎进入菜品列表"),
    ORDER_LIST("O", "订单管理", "欢迎进入订单列表" ),
    END_ORDER("E", "订单更新为已完成", "订单更新为已完成" ),

    ;

    private String code;
    private String name;
    private String tip;

    MenuEnum(String code, String name, String tip) {
        this.code = code;
        this.name = name;
        this.tip = tip;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getTip() {
        return tip;
    }
}
